body{
    min-width: 320px;
    max-width:540px;
    margin: 0 auto;
	color: #000;
	background: #f2f2f2;
	overflow-x: hidden;
	-webkit-tap-highlight-color: transparent;
    font-family: -apple-system,Helvetica,sans-serif;
}
ul,li {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  a {
    color: #222;
    text-decoration: none;
  }
  h1,h2,h3,h4,h5,h5 {
    margin: 0;
    padding: 0;
  }
*{
    -webkit-tap-highlight-color: transparent;
}
/* 在移动端浏览器默认的外观在ios上加上这个属性才能给按钮和输入框自定义样式 */
input{
    -webkit-appearance: none;
}
/* 禁用长按页面时的弹出菜单 */
img,a{
    -webkit-touch-callout: none;
}

body{
    min-width: 320px;
    max-width:540px;
    margin: 0 auto;
    background-color:  #fff;
    font-size: 14px;
    line-height: 1.5;
    font-family: -apple-system,Helvetica,sans-serif;
}
*{
    -webkit-tap-highlight-color: transparent;
}
/* 在移动端浏览器默认的外观在ios上加上这个属性才能给按钮和输入框自定义样式 */
input{
    -webkit-appearance: none;
}
/* 禁用长按页面时的弹出菜单 */
img,a{
    -webkit-touch-callout: none;
}

/* 搜索栏 */
.search-index{
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    width: 100%;
    height: 44px;
    padding-left: 12px;

    align-items: center;
    z-index: 20;
}
.search-index .search{
    display: flex;
    align-items: center;
    flex: 1;
    padding: 2px 5px;
    border-radius: 16px;
    height: 28px;
    box-sizing: border-box;
    background-color: #fff;
}
.search-index .search span{ 
    position: relative;
    padding-left: 35px;
    line-height: 18px;
    font-size: 15px;
    color: #666;
}
.search-index .search span:after{
    content:"";
    display: block;
    width: 14px;
    height: 14px;
    position: absolute;
    left: 10px;
    top: 2px;
    background: url(../images/sprite.png) no-repeat 0px 0px;
    background-size: 21px auto;
}
.search-index .login{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 44px;
    padding-right:4px;
}
.search-index .login::after{
    content:"";
    display: block;
    width: 22px;
    height: 22px;
    background: url(../images/sprite.png) no-repeat 0 -36px;
    background-size: 21px auto;
}
.search-index .login span{
    order: 1;
    color: #fff;
    font-size: 12px;
    line-height: 12px;

}


/* 焦点图 */
.focus{
    position: relative;
    width: 100%;
    padding: 0 25%;
    border-bottom-left-radius: 100%;
    border-bottom-right-radius: 100%;
    transform: translateX(-16.66%);
    overflow: hidden;
}
.focus a{
    display: block;
}
.focus a img{
    display: block;
    width: 100%;
}
.focus::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background-image: linear-gradient(to bottom,rgba(0,0,0,0.4),rgba(0,0,0,0));
  }
/* local-nav */
.local-nav{
    display: flex;
    position: relative;
    height: 64px;
    padding: 4px 0 8px;
    margin: -52px 12px 10px;
    border-radius: 8px;
    background-color: #fff;
}
.local-nav li{
    flex: 1;
}
.local-nav li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.local-nav li a i {
    width: 40px;
    height: 40px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 40px auto;
}
.local-nav li a span {
    font-size: 12px;
}
.local-nav li:nth-child(2) a i {
    background-position: 0 -40px;
}
.local-nav li:nth-child(3) a i {
    background-position: 0 -80px;
}
.local-nav li:nth-child(4) a i {
    background-position: 0 -120px;
}
.local-nav li:nth-child(5) a i {
    background-position: 0 -160px;
}

/* nav-common */
.nav{
    margin: 0 12px 1px;
    border-radius: 8px;
    overflow: hidden;
}
.nav .nav-common{
    display: flex;
    border-bottom: 1px solid #fff;
    background-image: linear-gradient(to right, #4b8fed, #53bced);
}
.nav .nav-common a{
    padding: 25px 0;
    line-height:14px;
    color: #fff;
    box-sizing: border-box;
}
.nav .nav-common a:nth-child(1){
    flex: 1.348;
    padding-left: 12px;
    background: url(../images/flight.png) no-repeat right bottom;
    background-size: auto 34px;
}
.nav .nav-common a:nth-child(2) {
    background: url(../images/train.png) no-repeat left bottom;
    background-size: 37px auto;
}
.nav .nav-common a:nth-child(n+2) {
    flex: 1;
    border-left: 1px solid #fff;
    text-align: center;
}
.nav .nav-common:nth-child(1){
    background-image: linear-gradient(to right,#fa5a56,#fb8550 56%);
}
.nav .nav-common:nth-child(1) a:nth-child(3){
    flex:2;
    background-image: url(../images/hot_sale.png),linear-gradient(to right,#ffbc49,#ffd252);
    background-size: 161px auto;
    background-position: right bottom;
    color: #A05416;
}
.nav .nav-common:nth-child(1) a:nth-child(1){
    background-image: url(../images/hotel.png);
    background-size: 73px auto;
}
.nav .nav-common:nth-child(1) a:nth-child(1){
    background-image: url(../images/minsu.png);
}
.nav .nav-common:nth-child(3) {
    background-image: linear-gradient(to right,#34c2aa,#6cd557);
  }
  .nav .nav-common:nth-child(3) a:nth-child(1) {
    background-image: url(../images/travel.png);
    background-size: auto 47px;
  }
  .nav .nav-common:nth-child(3) a:nth-child(2) {
    background-image: url(../images/dingzhi.png);
    background-size: 61px auto;
  }
/* subnav-entry */
.subnav-entry{
    display: flex;
    flex-wrap: wrap;
    margin: 0 12px 12px;
}
.subnav-entry li{
    width: 20%;
}
.subnav-entry li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-size: 12px;
    line-height: 12px;
}
.subnav-entry li a i{
    width: 28px;  
    height: 28px;
    margin: 10px 0 5px;
    background: url(../images/subnav-bg.png) no-repeat 6px -137px;
    background-size: 24px auto;
}
.subnav-entry li:nth-child(1) a i{
    background: url(../images/subnav-bg.png) no-repeat 6px 5px;
    background-size: 24px auto;
}
.subnav-entry li:nth-child(2) a i{
    background: url(../images/subnav-bg.png) no-repeat 6px -25px;
    background-size: 24px auto;
}
/* sales-box */
.sales-box{
    border-top: 1px solid #dbdbdb;
}
.sales-box .sales-hd{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 45px;
    padding: 0 8px 1px;
    border-bottom: 1px solid #dbdbdb;
}
.sales-box .sales-hd h2{
    position: relative;
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}
.sales-box .sales-hd h2 i{
    position: absolute;
    right: -40px;
    top: 0;
    width: 36px;
    height: 15px;
    background: url(../images/icon-gg@2x.png) no-repeat;
    background-size: 36px auto;
}
.sales-box .sales-hd .more{
    position: relative;
    height: 20px;
    padding: 0 18px 0 12px;
    border-radius: 10px;
    background-image: linear-gradient(to right, #dc5569,#e068c4);
    font-size: 12px;
    color: #fff;

}
.sales-box .sales-hd .more::after {
    position: absolute;
    right: 9px;
    top: 5px;
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);

}
.sales-box .sales-bd{
    display: flex;
    width: 100%;
}
.sales-box .sales-bd a {
    flex: 1;
    position: relative;
    border-top: 2px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
}
.sales-box .sales-bd a img{
    display: block;
    width:100%;
}
.sales-box .sales-bd a span{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 26px;
    height: 14px;
    border-radius: 4px;
    background-color: #b3b3b3;
    color: white;
    font-size: 12px;
    line-height: 14px;
}